package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.dto.ArticlePageQueryDTO;
import com.sky.vo.ArticleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ArticleMapper {

    @Select("select * from article")
    List<ArticleVO> selectArticleSort();

    Page<ArticleVO> pageQuery(ArticlePageQueryDTO articlePageQueryDTO);
}
